import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './utils/dragDialog'
// 添加路由拦截(导航守卫) => 权限控制
// import '@/utils/permission.js' // permission control

Vue.prototype.$bus = new Vue()

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
